package com.syni.mdd.sjb.common.datatreaure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.common.entity.DxshAppUserInfo;
import com.syni.mdd.sjb.common.component.utils.feign.dto.mddUser.LoginDxshAppUserDto;
import com.syni.mdd.sjb.common.component.utils.feign.dto.mddUser.RegisterDxshAppUserDto;

/**
 * <p>
 * 电享生活商户APP 个人资料信息 服务类
 * </p>
 *
 * @author lcc
 * @since 2020-04-27
 */
public interface DxshAppUserInfoService extends IService<DxshAppUserInfo> {

    DxshAppUserInfo syncDataTreasureUser(RegisterDxshAppUserDto registerDxshAppUserDto);

    DxshAppUserInfo syncDataTreasureUser(LoginDxshAppUserDto loginDxshAppUserDto);

    DxshAppUserInfo getByUserId(Integer userId);

    DxshAppUserInfo getByUnionId(String unionId);
}
